﻿@model GdHotel.Data.SideBlock

@{
    ViewBag.Title = "Просмотр";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Просмотр</h2>

<fieldset>
    <legend>Блок-ссылка</legend>

    @Html.Partial("_ShowSideBlockPartial")

</fieldset>
<p>
    @Html.ActionLink("Редактировать", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Назад к списку", "Index")
</p>

@{ ViewBag.SideBlockId = Model.Id; }
@Html.Partial("~/Views/ManageSideBlocksCustomPages/_IndexPartial.cshtml", Model.CustomPages)
